/**
 * output package name
 */
package com.kingdee.eas.lms.purchase.supplierchange;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class rate extends StringEnum
{
    public static final String AA_VALUE = "1";
    public static final String A_VALUE = "2";
    public static final String BB_VALUE = "3";
    public static final String B_VALUE = "4";
    public static final String C_VALUE = "5";

    public static final rate AA = new rate("AA", AA_VALUE);
    public static final rate A = new rate("A", A_VALUE);
    public static final rate BB = new rate("BB", BB_VALUE);
    public static final rate B = new rate("B", B_VALUE);
    public static final rate C = new rate("C", C_VALUE);

    /**
     * construct function
     * @param String rate
     */
    private rate(String name, String rate)
    {
        super(name, rate);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static rate getEnum(String rate)
    {
        return (rate)getEnum(rate.class, rate);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(rate.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(rate.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(rate.class);
    }
}